<div class="action-dialog-model-fixed-body">
<div class="detaiTab  detaiTab1 detailsBox" >
  <div class="yytcencer">   	
     <div class="ykyUl clearfix">
		<form action="/rdatalist/common"  data-action-html="#picslist" class="action-ajax-form">
		    <div class="khyTitle">
		       <div class="fr"><input type="text" name="fileName" class="searInp" placeholder="请输入文件名" />
		            <input type="hidden" name="loanId"value="${loanId}" />
		     	    <input type="submit" value="搜 索" class="secBtn"/>
		     	    
		       </div>
		                    客户云文档
		    </div>
		 </form>
     	  <div id="picslist" class="action-ajax-load picslist" data-url="/rdatalist/common?loanId=${loanId}"></div>
		  <form action="<@url value='/rdatalist/save'/>" name="cname" id="cname" class="action-ajax-form ">
		     
		            <input type="hidden" name="datalistCode" value="${datalist}"/>
		            <input type="hidden" name="loanapplyNo" value="${loanapplyNo}" />
		            <input type="hidden" name="sponsorId"value="${loanId}" />
		            <input type="hidden" name="urlpath" id="urlpath"/>
		            <input type="hidden" name="originalName" id="originalName"/>
		            <input type="submit" value="保存" class="btn_auto_30 btn_blue mtb20 closea" />
		  </from>
        </div>
      </div>
</div>
</div>

<script>
$(document).on("click",".ykyBox li",function(){
 var allLi = $(this).closest('ul').find('li').removeClass('hot');
	var li = $(this).closest('li').addClass('hot');
	var dlg = $('.bigPic');
	var imgsrc=li.find('img').attr('id');
	var originalName=li.find('p').attr('id');
	$("#urlpath").val(imgsrc);
	$("#originalName").val(originalName);
}); 

	
$('.closea').click(function (){
		$('.bigPic').hide();
		$('.ykyBox li').removeClass('hot');
	})
</script>
